package Demo;

import java.util.Scanner;

public class Oh1 {
	public static void main(String[]args) {
		int a;
		int b;
		int c;
		Scanner scanner = new Scanner (System.in);
		
		System.out.println("请输入第一个数");
		a= scanner.nextInt();
		
		System.out.println("请输入第二个数");
		b= scanner.nextInt();
		
		System.out.println("请输入第三个数");
		c= scanner.nextInt();
		
		if(a<b&&b<c&&a<c) {
			System.out.println("输出:"+a+b+c);
		}
		
		if(b<a&&a<c&&b<c) {
			System.out.println("输出:"+b+a+c);
		}
		
		if(c<b&&c<a&&b<a) {
			System.out.println("输出:"+c+b+a);
		}
	}	
}